package com.zdp.nio.channel.udpchannel.data;

import lombok.SneakyThrows;

/**
 * 测试 UDPServer
 */
public class ServerTest {

    @SneakyThrows
    public static void main(String[] args) {
        UDPServer udpServer = UDPServer.builder().ip("127.0.0.1")
                .port(9905)
                .run(true)
                .build();
        udpServer.receive();
    }
}
